package com.wosai.register.repository;

import java.util.List;

import com.wosai.register.model.Category;

public interface CategoryRepository {
    Category findById(String merchantId, String id);
    List<Category> findByTerminal(String merchantId);
    
    List<String> insertBatch(List<Category> categories);
    List<String> updateBatch(List<Category> categories);
    
    void delete(String merchantId, String id);
    void deleteByTerminal(String merchantId);
    
    void markDelete(String merchantId, String id);
}
